package com.xxx.sso.service;

import com.xxx.sso.base.BaseService;
import com.xxx.sso.entity.Role;
import com.xxx.sso.repo.RoleRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

/**
 * @author caiwl
 * @date 2020/5/11 15:16
 */
@Service
public class RoleService extends BaseService<Role> {
    @Autowired
    private RoleRepo roleRepo;

    @Override
    public JpaRepository<Role, Long> repository() {
        return roleRepo;
    }
}
